package me.helllp.dake.core.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Getter
@Setter
@ConfigurationProperties(prefix="dake.id.config")
@PropertySource("classpath:dake_core.properties")
public class IdGenConfig {
    private short workerId;

    private byte workerIdBitLength;

    private byte seqBitLength;
}
